package com.example.tests;

import java.util.Set;

import org.testng.annotations.Test;

	public class EmptyContactCreationTest extends TestBase {
		@Test
		public void testContactWithEmptyDataCanBeCreated() throws Exception {
			ContactObject emptyDataContact = new ContactObject()
			.setFirstname("").setLastname("").setAddress("").setHome("").setMobile("")
			.setWork("").setEmail("").setEmail2("").setBday("-").setBmonth("-")
			.setByear("").setNew_group("[none]").setAddress2("").setPhome2("");
			Set<ContactObject> oldList = app.getContactHelper().getContacts();
			app.getContactHelper().createContact(emptyDataContact);
			Set<ContactObject> newList = app.getContactHelper().getContacts();
			verifyContactAdded(oldList, emptyDataContact, newList);
		}

		

		
			
				
				
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}